﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace WFExtended.Tests.Model
{
    public class MockService : IMockService
    {
        public void Ping()
        {
           
        }
        private bool _firstCall = true;

        public bool CheckData(MyData data)
        {
            return true;
        }

        public void ValidateError()
        {
            if (_firstCall)
            {
                _firstCall = false;
                throw new Exception();
            }
        }
    }
}
